<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    json 文件中不能有任何注释
    []

    {}---key(必须加双引号) value 对

    值有6种
    String Number null Object Array Boolean

    <h1>lili--18</h1>
    <h1>Tom--12</h1>

    <script>
        let arr=[
                {
                "name":"lili",
                "age":18
                },
                {
                "name":"Tom",
                "age":12
                }
            ]
    </script>
</body>
</html>